Skip to content

Document automatic upstream token refresh behavior#607

Merged
jhrozek merged 1 commit intomainfrom
authserver-refresh
Mar 12, 2026
Merged

Document automatic upstream token refresh behavior#607
jhrozek merged 1 commit intomainfrom
authserver-refresh

Conversation

@jhrozek
Copy link
Contributor

@jhrozek jhrozek commented Mar 12, 2026

Description

We recently merged upstream token refresh to authserver, let's document it

Type of change

  • Documentation update

Related issues/PRs

https://github.com/stacklok/stacklok-epics/issues/250

Screenshots

Submitter checklist

Content and formatting

  • I have reviewed the content for technical accuracy
  • I have reviewed the content for spelling, grammar, and style

Navigation

  • New pages include a frontmatter section with title and description at a minimum
  • Sidebar navigation (sidebars.ts) updated for added, deleted, reordered, or renamed files
  • Redirects added to vercel.json for moved, renamed, or deleted pages (i.e., if the URL slug changed)

Reviewer checklist

Content

  • I have reviewed the content for technical accuracy
  • I have reviewed the content for spelling, grammar, and style

Copilot AI review requested due to automatic review settings March 12, 2026 14:25
@vercel
Copy link

vercel bot commented Mar 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs-website Ready Ready Preview, Comment Mar 12, 2026 3:11pm

Request Review

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Documents ToolHive’s automatic upstream access token refresh behavior in the backend authentication concepts docs, clarifying what happens when stored upstream tokens expire.

Changes:

  • Added an “Automatic token refresh” subsection describing automatic access-token refresh using the stored refresh token.
  • Documented the re-authentication behavior when refresh fails (e.g., refresh token expired or revoked), including the resulting 401.

You can also share your feedback on Copilot code review. Take the survey.

@danbarr
Copy link
Collaborator

danbarr commented Mar 12, 2026

The initial Vercel build error was transient because a toolhive release was in progress but the binaries weren't available yet. I re-ran to clear that check.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jhrozek jhrozek merged commit e91409b into main Mar 12, 2026
6 checks passed
@jhrozek jhrozek deleted the authserver-refresh branch March 12, 2026 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants